package com.ruoyi.project.goods.billHead.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 发货单明细对象 goods_bill_head
 * 
 * @author lonsn
 * @date 2021-05-19
 */
public class GoodsBillHead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long billHeadId;

    /** 单号 */
    @Excel(name = "单号")
    private String billNo;

    /** 款号 */
    @Excel(name = "款号")
    private String styleNumber;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 单价 */
    @Excel(name = "单价")
    private Double price;

    /** 总价 */
    @Excel(name = "总价")
    private Long totalPrice;


    /** 商品图片 */
    @Excel(name = "商品图片",isImage = true)
    private String imgPath;

    public void setBillHeadId(Long billHeadId)
    {
        this.billHeadId = billHeadId;
    }

    public Long getBillHeadId()
    {
        return billHeadId;
    }
    public void setBillNo(String billNo)
    {
        this.billNo = billNo;
    }

    public String getBillNo()
    {
        return billNo;
    }
    public void setStyleNumber(String styleNumber)
    {
        this.styleNumber = styleNumber;
    }

    public String getStyleNumber()
    {
        return styleNumber;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }
    public void setTotalPrice(Long totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public Long getTotalPrice()
    {
        return totalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billHeadId", getBillHeadId())
            .append("billNo", getBillNo())
            .append("styleNumber", getStyleNumber())
            .append("quantity", getQuantity())
            .append("price", getPrice())
            .append("totalPrice", getTotalPrice())
            .toString();
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }
}
